package com.wust.smartcity.demo.server.common.enums;

/**
 * 智慧用电综合服务专用枚举
 * Created by wust on 2019/9/12.
 */
public enum LocalEnum {

    OPT_LIMIT(9000),  // 操作次数上限

    DEAD_LINE(1825), // 使用年限，天

    DEAD_LINE1(50000), //使用年限(磁宝石继电器)

    OVER_VOLTAGE(270),// 过压

    UNDER_VOLTAGE(175),// 欠压

    VOLTAGE(220),// 电压

    DATA_CRYPT_PWD("201803"); // 数据包解密密码


    LocalEnum(){}

    LocalEnum(String stringValue){
        this.stringValue = stringValue;
    }

    LocalEnum(int intValue){
        this.intValue = intValue;
    }

    LocalEnum(long longValue){
        this.longValue = longValue;
    }

    private String stringValue;
    public String getStringValue() {
        return stringValue;
    }

    private int intValue;
    public int getIntValue() {
        return intValue;
    }

    private long longValue;
    public long getLongValue() {
        return longValue;
    }
}
